//
//  YYStateMachineMacro.h
//  LearnObjectiveC
//
//  Created by client on 2017/9/18.
//  Copyright © 2017年 吴可高. All rights reserved.
//
#import <objc/runtime.h>
#import "YYStateMachineDynamic.h"

#ifndef YYStateMachineMacro_h
#define YYStateMachineMacro_h

#define State_Machine_Macro(definition) \
+(YYStateMachine*)stateMachine{\
    return  YYStateMachineSetDefinitionForClass(self,definition);\
}\
+(void)initialize {\
    YYStateMachineInitializeClass(self);\
}\

#endif
